import request from "../ulits/request";

export function login(params) {
  return request({
    method:"post",
    url:"user/login",
    params
  })
}

export function getInfo(token) {
  return request({
    method:"post",
    url:"user/getInfo",
    params:{
      token
    }
  })
}
